---
- name: Destroy
  hosts: localhost
  connection: local
  gather_facts: false

  tasks:
    - name: Delete the kind cluster.
      ansible.builtin.command: >-
        kind delete cluster
        --name molecule-test
        --kubeconfig {{ kubeconfig }}
      changed_when: false
